package com.gis.common.exception;

import com.gis.common.enums.ApiResultCode;

public class ApiException extends RuntimeException {
    private ApiResultCode code;

    public ApiResultCode getCode() {
        return code;
    }

    public void setCode(ApiResultCode code) {
        this.code = code;
    }

    public ApiException(String message, ApiResultCode code) {
        super(message);
        this.code = code;
    }
}
